import request from '@/utils/request'

// 查询cdc 配置列表
export function listSyncConf(data) {
    return request({
        url: '/console/syncConf/list',
        method: 'post',
        data
    })
}

// 查询cdc 配置详细
export function getSyncConf(data) {
    return request({
        url: '/console/syncConf/getInfo',
        method: 'post',
        data
    })
}

// 新增cdc 配置
export function addSyncConf(data) {
    return request({
        url: '/console/syncConf/add',
        method: 'post',
        data: data
    })
}

// 修改cdc 配置
export function updateSyncConf(data) {
    return request({
        url: '/console/syncConf/edit',
        method: 'post',
        data: data
    })
}

// 删除cdc 配置
export function delSyncConf(data) {
    return request({
        url: '/console/syncConf/remove',
        method: 'post',
        data: data
    })
}
